package com.meilai.project.entity.reminder;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.core.bean.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 提醒配置表
 * </p>
 *
 * @author xhy
 * @since 2022-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("reminder_config")
@ApiModel(value = "ReminderConfig对象", description = "提醒配置表")
public class ReminderConfig extends SuperEntity {

    @ApiModelProperty(value = "提醒类型名称")
    private String name;

    @ApiModelProperty(value = "1:时间前置提醒  2：时间后置提醒")
    private Integer type;

    @ApiModelProperty(value = "时间")
    private Integer day;

    @ApiModelProperty(value = "多少天提醒一次")
    private Integer frequency;

    @ApiModelProperty(value = "执行百分比")
    private BigDecimal execution_percentage;

    @ApiModelProperty(value = "0:禁用 1:启用")
    private Boolean status;

    @ApiModelProperty(value = "提醒类型名称")
    private String field_name;
}
